<!--  app/View/Posts/view.ctp -->
<?php
	$this->extend('/Common/view');

	$this->assign('title', h($post['Post']['title']));

	$this->start('sidebar');
	?>
	<li><?php
		echo $this->Html->link('edit', array(
	    	'action' => 'edit',
	    	$post['Post']['id']
		)); ?>
	</li>
	<?php $this->end(); ?>

<?php
// The remaining content will be available as the 'content' block
// in the parent view.
echo h($post['Post']['body']);